package com.tqz.jvm;

import org.springframework.context.annotation.ComponentScan;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *
 * @author tianqingzhao
 * @since 2022/3/28 19:08
 */
@ComponentScan("com.tqz.jvm")
public class AppConfig {

    public void init(){
        System.out.println("AppConfig init method invoke...");
    }
    
    public static void main(String[] args) throws InterruptedException {
        List<String> list = new ArrayList<>();
        
        while (true) {
            list.add("aa");
            
            Thread.sleep(10);
        }
    }
}
